//base
import Taro, { Component } from '@tarojs/taro'
import { View, Text, Image } from '@tarojs/components'
//less
import './index.less'

class VipUpdateBottom extends Component {
  componentWillMount() {
    //onLoad
  }

  componentDidMount() {
    //onready
  }

  componentWillUnmount() {
    //onUnload
  }

  componentWillReceiveProps(nextprops) {}

  render() {
    const { onCancle, onSure } = this.props
    return (
      <View className="VipUpdateBottom_id04805">
        <View className="wrap">
          <View className="header">
            <Image src="https://imagesize.hrwork.com/sp/files/8c648b77-ddc0-4ec4-a5cb-f8043405f029.png" />
            <Text>升级会员</Text>
          </View>
          <View className="cont">
            您当前仅支持一个工作地点发布岗位，如需发布多个岗位，请
            <Text>升级会员</Text>
          </View>
          <View className="footer">
            <View onClick={onCancle}>修改</View>
            <View onClick={onSure}>升级</View>
          </View>
        </View>
      </View>
    )
  }
}

export default VipUpdateBottom
